import time

from fastapi import APIRouter

from apps.api.v1.login_api import login_router
from apps.api.v1.user_api import user_router
from apps.api.v1.chat_api import chat_router
from apps.api.v1.draw_api import draw_router
from apps.api.v1.video_api import video_router
from apps.api.v1.home_api import home_router
from apps.api.v1.knowledge_api import knowledge_router
from apps.api.v1.embedding_server_api import embedding_server_router
from apps.api.v1.file_extract_api import file_extract_router

api_router = APIRouter()
api_router.include_router(login_router, prefix="/login", tags=["登入认证"])
api_router.include_router(home_router, prefix='/home', tags=["首页"])
api_router.include_router(user_router, prefix="/user", tags=["用户"])
api_router.include_router(chat_router, prefix="/chat", tags=["聊天"])
api_router.include_router(draw_router, prefix="/draw", tags=["绘图"])
api_router.include_router(video_router, prefix="/video", tags=["视频"])
api_router.include_router(knowledge_router, prefix="/knowledge", tags=["知识库"])
api_router.include_router(embedding_server_router, prefix="/embedding_server", tags=["向量服务"])
api_router.include_router(file_extract_router, prefix="/file_extract", tags=["文本内容提取服务"])
